getRoleValue

open fun getRoleValue(): Int

Role of the node that applies specific settings for a particular use-case
.meshtastic.Config.DeviceConfig.Role role = 3;

Return

The enum numeric value on the wire for role.